<?php
session_start();
?>
<table width="100%" cellpadding="0" cellspacing="0" border="0">

<tr>

	<td height="60">

		<table width="100%" border="0">
		 <tr>
			<td><a href="login.php">Login</a></td>
		 </tr>
		 <tr>

<!-- 		  <td rowspan="2" style="text-align: left;"><h1>News</h1></td>
 -->
		  <td valign="bottom" align="right" >		  
		  <?php

		  if(isset($_SESSION['user_id']))

			{

			?>

		  <a href="logoff.php" class="headerlinks">Logout</a> | 

          <?php

		  }

		if(isset($_SESSION['user_id']=='0002')
		{
	?>
<a href="add_experts.php" class="headerlinks">Add Expert</a> | <a href="add_user.php" class="headerlinks">Add User</a> | <a href="add_vendor.php" class="headerlinks">Add Vendor</a> | <a href="addcategory.php" class="headerlinks">Add Vendor Category</a> | <a href="addsubcategory.php" class="headerlinks">Add Vendor Sub-Category</a> | <a href="expert_category.php" class="headerlinks">Add Expert Category</a> 
<?php
		}
	?>
          </td>

		 </tr>

		 <tr>

		  <td class="welcome">
		  <?php if(isset($_SESSION['user_id'])){ 

		  echo 'Welcome Admin';?>		  

		   <?php echo $_SESSION['fname'];?>&nbsp;<?php echo $_SESSION['lname']; }?></td>

		 </tr>

		</table>

		</td>

   </tr>

   <tr>	
    <td height="49" class="topmenu"><a href="index.php">HOME</a><a href="assorted.php">ASSORTED</a><a href="politics.php">POLITICS</a><a href="sports.php">SPORTS</a><a href="world.php">WORLD</a><a href="business.php">BUSINESS</a><a href="entertainment.php">ENTERTAINMENT</a><a href="opinion.php">OPINION</a><a href="aboutus.php">ABOUT US</a></td>        
   </tr>
  
  

</table>